package com.xiaomi.service.impl;

import com.xiaomi.entity.Pingjia;
import com.xiaomi.mapper.PingjiaMapper;
import com.xiaomi.service.PingjiaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @ClassName PingjiaServiceImpl
 * @Description TODO
 * @Author zcy
 * @Date 2021/12/1 0:15
 * @Version 1.0
 **/
@Service
public class PingjiaServiceImpl implements PingjiaService {
    @Autowired
    private PingjiaMapper pingjiaMapper;
    @Override
    public List<Pingjia> pageSearch(Map<String,Object> pars) {
        return pingjiaMapper.pageSearch(pars);
    }

    @Override
    public Integer getCount(Map<String,Object> pars) {
        return pingjiaMapper.getCount(pars);
    }
}
